package java101;
//Import Java programs
import java.util.Scanner;

public class TempConverter {

	static Scanner sc = new Scanner(System.in);		
	public static void main(String[] args)				
	{
		//Declare the variables
		double degF;
		double degC;
		
		//Display and get the text and imput data
		System.out.print("Enter the temperature in Celsius: ");	
		degC = sc.nextInt();	
		
		//Do the math
		degF = 9 * degC / 5 + 32;		
		
		//Display the result
		System.out.println("The temperature in Fahrenheit is:  " + degF + ".");					
	
	}

}

//Run the program and enter an number into the console. Hit enter and it returns the temperature in Fahrenheit back to you.
